<template>
  <div>Hello World: {{username}}</div>
</template>

<script>
import { ref } from 'vue'

export default {
  setup() {
    const username = ref('ifer')
    const sayHi = (name) => {
      username.value = name
    }
    return { username, sayHi }
  }
}
</script>